package com.itheima.d4_collections;

import java.util.HashMap;

public class Student_demo {
    public static void main(String[] args) {
        HashMap<Student, String> map = new HashMap<>();
        map.put(new Student("1001", "张三", 28), "浙江");
        map.put(new Student("1002", "张飒", 25), "山东");
        map.put(new Student("1002", "张无", 88), "济南");
        System.out.println(map);
    }
}
